

package top.continew.admin.question.model.question;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import top.continew.admin.question.manger.base.BaseModel;

@Data
public class Question extends BaseModel<Question> {

    /**
     * 创建
     */
    public static final Long STATUS_CREATE = 0L;
    /**
     * 暂存
     */
    public static final Long STATUS_TS = 0L;

    /**
     * 驳回
     */
    public static final Long STATUS_REJECTED = 2L;

    @TableId
    private Long id;
    private String ext; // 扩展
    private Long type; // 题型 1,选择题,2,多选题,3,判断题,4,情景题,5,简答题,6,辨析题,7,填空,8,完形填空,9,阅读理解,10 背景题
    private String title; // 标题
    private Long isOfficialQuestion; // 是否是真题
    private String officialQuestionSource; // 真题出处
    private Long year; // 年份
    private Long difficultyLevel; // 难度系数
    private Long parentId; // 父级题目
    private Long status; // 状态：1启用，2禁用
    private Long editStatus; // 0暂存,1,提交校验
    private Long editPeople; // 编辑人
    private String answer; // 答案
    @TableField("`analyze`")
    private String analyze; // 解析
    private String videoAnalyze; // 视频解析
    private Long property; // 属性（0,普通,1,父题目,2,子题目）
    private String alias; // 题目类型名称
    private String materials; // 材料
    private Long testId;
    private Long sort;
    private Long specificationType;
    private Long onlineStatus;
    private Long blankSum;
    private Long isAi;
    private Double score;
    //连线
    private String lineOptions;

}
